package com.mlnx.netty.app.ecg;

import io.netty.channel.nio.NioEventLoopGroup;

/**
 * Created by amanda.shan on 2019/10/10.
 */
public class EcgServerTest {

    public static void main(String[] args) throws Exception {

        DeviceNettyServer deviceNettyServer = new DeviceNettyServer(new NioEventLoopGroup(), new NioEventLoopGroup(),
                "ecg");

        deviceNettyServer.start(new EcgServerInitializer(), 12222);
    }
}
